package com.ourteam.product.model.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 IRKT 2017
 * Auto Generate Date : 2017-11-17 11:00:44
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductDatabaseDAO extends IDataAccessInterface<ProductDatabase, ProductDatabaseDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_DATABASE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_DATABASE.ID";

    /**
     * Mapped Field DATABASE_NAME
    */
    static final String DatabaseName = "PRODUCT_DATABASE.DATABASE_NAME";

    /**
     * Mapped Field DATABASE_TYPE
    */
    static final String DatabaseType = "PRODUCT_DATABASE.DATABASE_TYPE";

    /**
     * Mapped Field DATABASE_USER
    */
    static final String DatabaseUser = "PRODUCT_DATABASE.DATABASE_USER";

    /**
     * Mapped Field DATABASE_PASSWORD
    */
    static final String DatabasePassword = "PRODUCT_DATABASE.DATABASE_PASSWORD";

    /**
     * Mapped Field DATABASE_IP
    */
    static final String DatabaseIp = "PRODUCT_DATABASE.DATABASE_IP";

    /**
     * Mapped Field DATABASE_PORT
    */
    static final String DatabasePort = "PRODUCT_DATABASE.DATABASE_PORT";

    /**
     * Mapped Field DATABASE_SERVICE_ID
    */
    static final String DatabaseServiceId = "PRODUCT_DATABASE.DATABASE_SERVICE_ID";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_DATABASE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_DATABASE.REMARKS";

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductDatabase findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute databaseName
         */
        static final String DatabaseName = "databaseName";

        /**
         * Attribute databaseType
         */
        static final String DatabaseType = "databaseType";

        /**
         * Attribute databaseUser
         */
        static final String DatabaseUser = "databaseUser";

        /**
         * Attribute databasePassword
         */
        static final String DatabasePassword = "databasePassword";

        /**
         * Attribute databaseIp
         */
        static final String DatabaseIp = "databaseIp";

        /**
         * Attribute databasePort
         */
        static final String DatabasePort = "databasePort";

        /**
         * Attribute databaseServiceId
         */
        static final String DatabaseServiceId = "databaseServiceId";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
